#include "afxwin.h"
#if !defined(AFX_GROUPCHAT_H__DF13E1FB_A334_4C1B_8674_5E4684098103__INCLUDED_)
#define AFX_GROUPCHAT_H__DF13E1FB_A334_4C1B_8674_5E4684098103__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GroupChat.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CGroupChat dialog

class CGroupChat : public CDialog
{
// Construction
public:
	CGroupChat(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CGroupChat)
	enum { IDD = IDD_DIALOG_GROUP };
	CListCtrl	m_listChatGroup;
	//}}AFX_DATA

	CString	m_GroupID;
	CString	m_GroupName ;
	vector<TGroupMember>	m_GroupMem ;
	int	index ;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGroupChat)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL
	CString Text;
// Implementation
protected:
	void	AppendTextToEdit ( CString s );
	// Generated message map functions
	//{{AFX_MSG(CGroupChat)
	virtual BOOL OnInitDialog();
	afx_msg void OnDblclkListChatGroup(NMHDR* pNMHDR, LRESULT* pResult);

	afx_msg LRESULT ShowGroupMsg(WPARAM wParam, LPARAM lParam);
	
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedOk();
public:
	afx_msg void OnClose();
public:
	CEdit m_OutPut;
public:
	CEdit m_IntPut;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GROUPCHAT_H__DF13E1FB_A334_4C1B_8674_5E4684098103__INCLUDED_)
